AI SDK Kotlin
Toggle table of contents
0.3.0-alpha01
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
OnChunkEvent
On
Chunk
Event
data
class
OnChunkEvent
(
val
event
:
StreamEvent
,
val
stepNumber
:
Int
)
Each individual stream chunk, alongside the step it belongs to.
Members
Constructors
On
Chunk
Event
Link copied to clipboard
constructor
(
event
:
StreamEvent
,
stepNumber
:
Int
)
Properties
event
Link copied to clipboard
val
event
:
StreamEvent
step
Number
Link copied to clipboard
val
stepNumber
:
Int